package com.util.vmwareops;
import com.vmware.vim25.mo.HostSystem;
import java.util.List;
import java.util.ArrayList;

public class ClusterInfo {
    private String id;
    private VCenterInfo vc;
    private String domainName;
    private String name;
    private int cpu;
    private double mem;
    private String versionId;
    private List<HostInfo> hosts;

    public ClusterInfo() {}
    public ClusterInfo(String id, VCenterInfo vc, String domainName, String name, int cpu, double mem, String versionId) {
        this(id, vc, domainName, name, cpu, mem, versionId, new ArrayList<HostInfo>());
    }
    public ClusterInfo(String id, VCenterInfo vc, String domainName, String name, int cpu, double mem, String versionId, List<HostInfo> hosts) {
        this.id = id;
        this.vc = vc;
        this.domainName = domainName;
        this.name = name;
        this.cpu = cpu;
        this.mem = mem;
        this.versionId = versionId;
        this.hosts = hosts;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public VCenterInfo getVc() {
        return vc;
    }

    public void setVc(VCenterInfo vc_id) {
        this.vc= vc_id;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domain_name) {
        this.domainName = domain_name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCpu() {
        return cpu;
    }

    public void setCpu(int cpu) {
        this.cpu = cpu;
    }

    public double getMem() {
        return mem;
    }

    public void setMem(double mem) {
        this.mem = mem;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }
    public List<HostInfo> getHosts() {
        return this.hosts;
    }
    public void setHosts(List<HostInfo> hosts) {
        this.hosts = hosts;
    }
}
